package com.leyou.user.service;

import com.leyou.user.UserDTO;
import com.leyou.user.entity.User;

public interface IuserService {
    Boolean checkUserData(String data, Integer type);

    void sendCode(String phone);

    void register(User user, String code);

    UserDTO login(String username, String password);
}
